home *** CD-ROM | disk | FTP | other *** search
- .cm text format program: documentation
- .cm Source: roff.txt
- .he ROFF documentation
- .fo Page #
- .in 5
- .rm 75
-
-
- This is a transliteration of the text formatting program on Kernighan &
- Plauger's SOFTWARE TOOLS, with some modifications to take advantage of
- the power of C. If the summary of dot commands below isn't enough for
- you, see the book.
-
- Most commands can accept arguments.
- If the argument is preceded by a plus or minus sign
- then the current value of the indicated attribute is changed by that
- amount.
- For example, the command .ls 2
- sets the line spacing to 2,
- while the command .ls +2 increases the currently-set line spacing
- by 2 lines.
-
-
- .nf
- command break? default action
- ------- ----- ------- ------
-
- .bp yes +1 begin next page
- .br yes cause break
- .ce n yes 1 center next n lines
- .fi yes start fill mode
- .fo no empty footer title
- .he no empty header title
- .in n no 0 indent n spaces
- .ls n no 1 set line spacing = n
- .nf yes stop fill mode
- .pl n no 66 set page length = n
- .rm n no 60 set right margin
- .sp n yes 1 space down n lines
- .ti n yes 0 temp indent n spaces
- .ul n no 1 underline next n lines
- .fi
-
-
- A break stops the filling of the current line.
- Breaks are needed between paragraphs. Lines containing nothing but blanks
- always cause one blank line to be output. A line which starts with a tab
- or blank causes the temporary indent setting to be set
- to the number of beginning spaces on that line.
- Note that this feature overrides any .ti setting
- in effect.